<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>D</title>
    <style>
        span {
            display: block;
            height: 200px;
            width: 200px;
            background-color: pink;
        }

        div {
            display: inline;
            height: 200px;
            width: 200px;
            background-color: red;
        }
        a {
            display: inline-block;
            text-align: center;
            line-height: 40px;
            height: 40px;
            width: 100px;
            background-color: orange;
        }
    </style>
</head>
<body>
    <span>行内</span>
    <span>行内</span>

    <div>块内</div>
    <div>块内</div>

    <a href="#">百度</a>
    <a href="#">新闻</a>
    <strong>胜多负少</strong>
</body>
</html>